<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<div class="pagination">
        <a href="#" onclick="changePage(1)">|<< </a>
        
		<span <c:if test="${page.currentPage > 1}"> class="disabled" </c:if>><< </span>
		<span class="current">${page.currentPage}</span>
		
		<span <c:if test="${page.totalPage > 1 && page.currentPage < page.totalPage}"> class="disabled" </c:if>><a href="#" onclick="changePage(${page.currentPage}+1)"> >></a></span>
		<a href="#" onclick="changePage(${page.totalPage})"> >>|</a>
		<span >共${page.totalPage}页</span>
		<span >总计${page.sum}条记录</span>
</div>

